/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BO;

import java.sql.SQLException;

/**
 *
 * @author Quang Thao
 */
public class OtherBO {

    public Bean.OtherBean GetInfo(String id) throws Exception {
        Mapper.OtherMapper map = new Mapper.OtherMapper();
        Bean.OtherBean oth = map.GetInfo(id);
        map.closeConnection();
        return oth;
    }

    public int Update(Bean.OtherBean other) throws Exception {
        Mapper.OtherMapper map = new Mapper.OtherMapper();
        int update = map.Update(other);
        map.closeConnection();
        return update;
    }
}
